package com.jalarbee.core.generic.service;

import java.io.Serializable;
import java.util.List;

import com.jalarbee.core.util.Chunk;


public interface GenericService<T, PK extends Serializable> {

	public T read(PK key);
	public T create(T newInstance);
	public void delete(T instance);
	public void update(T instance);

	public List<T> findAll(Chunk chunk);

}
